<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<table width="95%">
	<tr>
		<td>
			<c:choose>
				<c:when test="${not paginationSupport.firstPage}">
					<a href="#" onclick="commonSearchPagination(0)"><spring:message code="base.btn.firstpage" /> </a>
				</c:when>
				<c:otherwise>
					<a><spring:message code="base.btn.firstpage" /> </a>
				</c:otherwise>
			</c:choose>
			<c:choose>
				<c:when test="${paginationSupport.hasPreviousPage}">
					<a href="#" onclick="commonSearchPagination(${paginationSupport.previousIndex})"> <spring:message code="base.btn.prepage" /> </a>
				</c:when>
				<c:otherwise>
					<a><spring:message code="base.btn.prepage" /> </a>
				</c:otherwise>
			</c:choose>
			<c:choose>
				<c:when test="${paginationSupport.hasNextPage}">
					<a href="#" onclick="commonSearchPagination(${paginationSupport.nextIndex})"> <spring:message code="base.btn.nextpage" /> </a>
				</c:when>
				<c:otherwise>
					<a><spring:message code="base.btn.nextpage" /> </a>
				</c:otherwise>
			</c:choose>
			<c:choose>
				<c:when test="${not paginationSupport.lastPage}">
					<a href="#" onclick="commonSearchPagination(${paginationSupport.lastIndex})"> <spring:message code="base.btn.lastpage" /> </a>
				</c:when>
				<c:otherwise>
					<a><spring:message code="base.btn.lastpage" /> </a>
				</c:otherwise>
			</c:choose>
		</td>
		<td align="right">
			每页:
			<font color="red" style="font-weight: bold">${paginationSupport.pageSize}</font>&nbsp;&nbsp; 当前:
			<font color="red" style="font-weight: bold">${paginationSupport.currentSize}</font>&nbsp;&nbsp; 总计:
			<font color="red" style="font-weight: bold">${paginationSupport.totalCount}</font>
		</td>
	</tr>
</table>
